package com.example.bishe.service.impl;

import com.example.bishe.entity.Bzks_zy;
import com.example.bishe.mapper.Bzks_zyMapper;
import com.example.bishe.service.Bzks_zyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author yws
 * @Date 2022/3/20 20:39
 */
@Service
public class Bzks_zyServiceImpl implements Bzks_zyService {
    @Autowired
    Bzks_zyMapper bzks_zyMapper;

    @Override
    public Bzks_zy[] selectAll() {
        return bzks_zyMapper.selectAll();
    }

    @Override
    public void insert_zy(Bzks_zy bzks_zy) {
        bzks_zyMapper.insert_zy(bzks_zy);
    }

    @Override
    public void delete_zy(Bzks_zy bzks_zy) {
        bzks_zyMapper.delete_zy(bzks_zy);
    }

    @Override
    public void update_zy(Bzks_zy bzks_zy) {
        bzks_zyMapper.update_zy(bzks_zy);
    }

    @Override
    public Bzks_zy[] select_zy(Bzks_zy bzks_zy) {
        return bzks_zyMapper.select_zy(bzks_zy);
    }
}
